/*
 * Copyright (C) 2017-2019 Dremio Corporation
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
@import "~@app/uiTheme/less/variables.less";
@import "~@app/uiTheme/less/variables.complex.less";
@import "~@app/uiTheme/less/color-schema.less";
@import "~@app/uiTheme/less/mixins.less";

.align-left {
  text-align: left;
}

.section-margin {
  margin-top: @section-margin;
}

.background1 {
  background-color: @PALE_BLUE
}

.border-default {
  border: @border-default;
}

.horizontal-content-padding {
  padding-left: @content-padding;
  padding-right: @content-padding;
}

.top-content-padding {
  padding-top: @section-margin;
}

.flex-container {
  display: flex;
}

.flex-stretch-items {
  align-items: stretch;
}

.inline-flex-container {
  display: inline-flex;
}

.flex-align-center {
  align-items: center;
}

.flex-justify-center {
  justify-content: center;
}

.flex-column-container {
  display: flex;
  flex-direction: column;
}

.flex-auto {
  flex: auto;
}

.flex-element-auto {
  flex: 1 1 auto;
  // the style below are needed to prevent child to overflow a parent
  min-width: 0;
  min-height: 0;
}

.tab-label {
  display: flex;
}

.tab-icon {
  margin-left: auto;
  margin-top: -3px;
}

.scroll-right-container-with-header {
  overflow-y: auto;
  // right container should take the full available width to show scroll bar on the right
  width: 100%;
  // container header width is smaller than container width, thus the under line requires absolute position for a child
  position: relative;
}

.border-radius-default {
  border-radius: 2px;
}

.clear-fix {
  .clear-fix-mixin();
}

.full-height {
  height: 100%;
}

.overflow-hidden {
  overflow: hidden;
}
